package com.entity;
public class Product {
//   id
    private int id;
//     商品名称
    private String name;
//     商品类别
    private String type;
//   进货价格
    private  double price;
//     库存数量
    private double number;
//    商品规格
    private String guige;
//    供应商
    private String provider;


    @Override
    public String toString() {
        return "Product{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", type='" + type + '\'' +
                ", price=" + price +
                ", number=" + number +
                ", guige='" + guige + '\'' +
                ", provider='" + provider + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public double getNumber() {
        return number;
    }

    public void setNumber(double number) {
        this.number = number;
    }

    public String getGuige() {
        return guige;
    }

    public void setGuige(String guige) {
        this.guige = guige;
    }

    public String getProvider() {
        return provider;
    }

    public void setProvider(String provider) {
        this.provider = provider;
    }

    public Product() {
    }

    public Product(String name, String type, double price, double number, String guige, String provider) {
        this.name = name;
        this.type = type;
        this.price = price;
        this.number = number;
        this.guige = guige;
        this.provider = provider;
    }

    public Product(int id, String name, String type, double price, double number, String guige, String provider) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.price = price;
        this.number = number;
        this.guige = guige;
        this.provider = provider;
    }
}
